<?php
declare (strict_types = 1);

namespace app\common\model;

use think\Model;
use think\model\concern\SoftDelete;
/**
 * @mixin \think\Model
 */
class Spec extends Model
{
    use SoftDelete;
    //规格与规格值。一对多
    public function SpecValues()
    {
        return $this->hasMany(SpecValue::class,'spec_id','id');
    }
}
